package com.automannn.atm_back.modules.system.service;

import com.automannn.atm_back.modules.system.entity.SysAnnouncement;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 系统通告
 * @author chenkh
 * @time 2020/6/26 21:47
 */
public interface ISysAnnouncementService extends IService<SysAnnouncement> {

     void saveAnnouncement(SysAnnouncement sysAnnouncement);

     boolean upDateAnnouncement(SysAnnouncement sysAnnouncement);

     void saveSysAnnouncement(String title, String msgContent);

     Page<SysAnnouncement> querySysCementPageByUserId(Page<SysAnnouncement> page, String userId, String msgCategory);

}
